﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Northwind_ObjectContext
{
    class TestNorthwindContext
    {
        static void Main()
        {
            //Customer anton = CustomerUtilities.GetCustomerById("ANTON");

            //anton.CompanyName = "44";

            //CustomerUtilities.ModifyCustomer(anton); 

            CustomerUtilities.DeleteCustomer(c => true);

            Customer antonChanged = CustomerUtilities.GetCustomerById("ANTON");

            Console.WriteLine("{0} {1}", antonChanged.CustomerID, antonChanged.CompanyName);
        }
    }
}
